/**
 * @Company:中享思途   
 * @Title:UserService.java 
 * @Author:IL Clown   
 * @Date:2020年8月18日 上午9:10:53     
 */
package com.situ.shopsystem.service;

import javax.jws.soap.SOAPBinding.Use;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Service;

import com.situ.shopsystem.pojo.LayuiResult;
import com.situ.shopsystem.pojo.User;

/** 
 * @ClassName:UserService 
 * @Description:(User类的Service)  
 */

public interface UserService {

	User findUserByIdAndPass(String userId, String userPass);

	LayuiResult findAllManager(Integer page, Integer limit, User user);

	int save(User user, HttpSession session);

	int update(User user, HttpSession session);
    //
	int findByUserId(String userId);
    //做删除
	int delete(Long rowId);
    //前台做用户的登录
	User findByIdAndPass(String userId, String userPass);
	//前台做用户的注册
	int saveUser(User user, HttpSession session);

}
